package com.kjsdfgk.hjmdsf.live.mvp.ui.activity;

import android.view.View;

import androidx.annotation.NonNull;

import com.jess.arms.base.BaseHolder;
import com.jess.arms.base.DefaultAdapter;
import com.kjsdfgk.hjmdsf.live.mvp.bean.PingtaiBean;
import com.lksdkjs.live.R;
import com.myapp.video.home.mvp.model.entity.LiveVideos;

import java.util.List;

public class LiveAdapter extends DefaultAdapter<PingtaiBean> {

    public LiveAdapter(List<PingtaiBean> liveVideos) {
        super(liveVideos);
    }

    @NonNull
    @Override
    public BaseHolder<PingtaiBean> getHolder(@NonNull View v, int viewType) {
        return new LiveItemHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.recycle_list;
    }
}